/**
 * 工作量统计
 */
import Axios from 'axios'

import { requestHeader } from './requestHeader' 


// 获取全部工作量

export function getAll(pageNum){

    return Axios({
        url: requestHeader() + '/workload/getAll',
        method: 'get',
        params:{"pageNum":pageNum}
      })

}


//医生查询

export function queryDoctor(doctorname,pageNum){

  return Axios({
      url: requestHeader() + '/workload/queryDoctor',
      method: 'get',
      params:{
        
        "doctorname":doctorname,

        "pageNum":pageNum
    
    
    }
    })

}